home *** CD-ROM | disk | FTP | other *** search
Wrap
Text File | 1998-08-17 | 27.7 KB | 673 lines | [ TEXT/MPS ]
{ File: Displays.p Contains: Display Manager Interfaces. Version: Technology: System 7.5 Release: Universal Interfaces 3.2 Copyright: © 1993-1998 by Apple Computer, Inc., all rights reserved. Bugs?: For bug reports, consult the following page on the World Wide Web: http://developer.apple.com/bugreporter/ } {$IFC UNDEFINED UsingIncludes} {$SETC UsingIncludes := 0} {$ENDC} {$IFC NOT UsingIncludes} UNIT Displays; INTERFACE {$ENDC} {$IFC UNDEFINED __DISPLAYS__} {$SETC __DISPLAYS__ := 1} {$I+} {$SETC DisplaysIncludes := UsingIncludes} {$SETC UsingIncludes := 1} {$IFC UNDEFINED __CONDITIONALMACROS__} {$I ConditionalMacros.p} {$ENDC} {$IFC UNDEFINED __COMPONENTS__} {$I Components.p} {$ENDC} {$IFC UNDEFINED __VIDEO__} {$I Video.p} {$ENDC} {$IFC UNDEFINED __APPLEEVENTS__} {$I AppleEvents.p} {$ENDC} {$IFC UNDEFINED __EVENTS__} {$I Events.p} {$ENDC} {$IFC UNDEFINED __PROCESSES__} {$I Processes.p} {$ENDC} {$IFC UNDEFINED __DIALOGS__} {$I Dialogs.p} {$ENDC} {$PUSH} {$ALIGN MAC68K} {$LibExport+} {$IFC UNDEFINED FOR_GLUE_LIB } {$SETC FOR_GLUE_LIB := 0 } {$ENDC} {$IFC UNDEFINED FOR_68kGLUE_LIB } {$SETC FOR_68kGLUE_LIB := 0 } {$ENDC} CONST { AppleEvents Core Suite } kAESystemConfigNotice = 'cnfg'; { Core Suite types } kAEDisplayNotice = 'dspl'; kAEDisplaySummary = 'dsum'; keyDMConfigVersion = 'dmcv'; keyDMConfigFlags = 'dmcf'; keyDMConfigReserved = 'dmcr'; keyDisplayID = 'dmid'; keyDisplayComponent = 'dmdc'; keyDisplayDevice = 'dmdd'; keyDisplayFlags = 'dmdf'; keyDisplayMode = 'dmdm'; keyDisplayModeReserved = 'dmmr'; keyDisplayReserved = 'dmdr'; keyDisplayMirroredId = 'dmmi'; keyDeviceFlags = 'dddf'; keyDeviceDepthMode = 'dddm'; keyDeviceRect = 'dddr'; keyPixMapRect = 'dpdr'; keyPixMapHResolution = 'dphr'; keyPixMapVResolution = 'dpvr'; keyPixMapPixelType = 'dppt'; keyPixMapPixelSize = 'dpps'; keyPixMapCmpCount = 'dpcc'; keyPixMapCmpSize = 'dpcs'; keyPixMapAlignment = 'dppa'; keyPixMapResReserved = 'dprr'; keyPixMapReserved = 'dppr'; keyPixMapColorTableSeed = 'dpct'; keySummaryMenubar = 'dsmb'; keySummaryChanges = 'dsch'; keyDisplayOldConfig = 'dold'; keyDisplayNewConfig = 'dnew'; dmOnlyActiveDisplays = true; dmAllDisplays = false; { DMSendDependentNotification notifyClass } kDependentNotifyClassShowCursor = 'shcr'; { When display mgr shows a hidden cursor during an unmirror } kDependentNotifyClassDriverOverride = 'ndrv'; { When a driver is overridden } kDependentNotifyClassDisplayMgrOverride = 'dmgr'; { When display manager is upgraded } kDependentNotifyClassProfileChanged = 'prof'; { When DMSetProfileByAVID is called } { Switch Flags } kNoSwitchConfirmBit = 0; { Flag indicating that there is no need to confirm a switch to this mode } kDepthNotAvailableBit = 1; { Current depth not available in new mode } kShowModeBit = 3; { Show this mode even though it requires a confirm. } kModeNotResizeBit = 4; { Do not use this mode to resize display (for cards that mode drives a different connector). } kNeverShowModeBit = 5; { This mode should not be shown in the user interface. } { Summary Change Flags (sticky bits indicating an operation was performed) For example, moving a display then moving it back will still set the kMovedDisplayBit. } kBeginEndConfigureBit = 0; kMovedDisplayBit = 1; kSetMainDisplayBit = 2; kSetDisplayModeBit = 3; kAddDisplayBit = 4; kRemoveDisplayBit = 5; kNewDisplayBit = 6; kDisposeDisplayBit = 7; kEnabledDisplayBit = 8; kDisabledDisplayBit = 9; kMirrorDisplayBit = 10; kUnMirrorDisplayBit = 11; { Notification Messages for extended call back routines } kDMNotifyInstalled = 1; { At install time } kDMNotifyEvent = 2; { Post change time } kDMNotifyRemoved = 3; { At remove time } kDMNotifyPrep = 4; { Pre change time } kDMNotifyExtendEvent = 5; { Allow registrees to extend apple event before it is sent } kDMNotifyDependents = 6; { Minor notification check without full update } kDMNotifySuspendConfigure = 7; { Temporary end of configuration } kDMNotifyResumeConfigure = 8; { Resume configuration } kDMNotifyRequestDisplayProbe = 9; { Request smart displays re-probe (used in sleep and hot plugging) } { Notification Flags } kExtendedNotificationProc = $00010000; { types for notifyType } kFullNotify = 0; { This is the appleevent whole nine yards notify } kFullDependencyNotify = 1; { Only sends to those who want to know about interrelated functionality (used for updating UI) } { DisplayID/DeviceID constants } kDummyDeviceID = $00FF; { This is the ID of the dummy display, used when the last “real” display is disabled. } kInvalidDisplayID = $0000; { This is the invalid ID } kFirstDisplayID = $0100; { bits for panelListFlags } kAllowDuplicatesBit = 0; { bits for nameFlags } kSuppressNumberBit = 0; kSuppressNumberMask = 1; kForceNumberBit = 1; kForceNumberMask = 2; kSuppressNameBit = 2; kSuppressNameMask = 4; { Constants for fidelity checks } kNoFidelity = 0; kMinimumFidelity = 1; kDefaultFidelity = 500; { I'm just picking a number for Apple default panels and engines } kDefaultManufacturerFidelity = 1000; { I'm just picking a number for Manufacturer's panels and engines (overrides apple defaults) } kAnyPanelType = 0; { Pass to DMNewEngineList for list of all panels (as opposed to specific types) } kAnyEngineType = 0; { Pass to DMNewEngineList for list of all engines } kAnyDeviceType = 0; { Pass to DMNewDeviceList for list of all devices } kAnyPortType = 0; { Pass to DMNewDevicePortList for list of all devices } { portListFlags for DM_NewDevicePortList } { Should offline devices be put into the port list (such as dummy display) } kPLIncludeOfflineDevicesBit = 0; { confirmFlags for DMConfirmConfiguration } kForceConfirmBit = 0; { Force a confirm dialog } kForceConfirmMask = $01; { Flags for displayModeFlags } kDisplayModeListNotPreferredBit = 0; kDisplayModeListNotPreferredMask = $01; { Flags for itemFlags } kComponentListNotPreferredBit = 0; kComponentListNotPreferredMask = $01; kDisplayTimingInfoVersionZero = 1; kDisplayTimingInfoReservedCountVersionZero = 16; kDisplayModeEntryVersionZero = 0; { displayModeVersion - original version } kDisplayModeEntryVersionOne = 1; { displayModeVersion - added displayModeOverrideInfo } kMakeAndModelReservedCount = 4; { Number of reserved fields } TYPE DMFidelityType = UInt32; { AVID is an ID for ports and devices the old DisplayID type is carried on for compatibility } AVIDType = UInt32; DisplayIDType = AVIDType; DMListType = Ptr; DMListIndexType = UInt32; AVPowerStateRec = VDPowerStateRec; AVPowerStateRecPtr = ^AVPowerStateRec; AVPowerStatePtr = ^VDPowerStateRec; DMDisplayTimingInfoRecPtr = ^DMDisplayTimingInfoRec; DMDisplayTimingInfoRec = RECORD timingInfoVersion: UInt32; timingInfoAttributes: UInt32; { Flags } timingInfoRelativeQuality: SInt32; { quality of the timing } timingInfoRelativeDefault: SInt32; { relative default of the timing } timingInfoReserved: ARRAY [0..15] OF UInt32; { Reserved } END; DMDisplayTimingInfoPtr = ^DMDisplayTimingInfoRec; DMComponentListEntryRecPtr = ^DMComponentListEntryRec; DMComponentListEntryRec = RECORD itemID: DisplayIDType; { DisplayID Manager } itemComponent: Component; { Component Manager } itemDescription: ComponentDescription; { We can always construct this if we use something beyond the compontent mgr. } itemClass: ResType; { Class of group to put this panel (eg geometry/color/etc for panels, brightness/contrast for engines, video out/sound/etc for devices) } itemFidelity: DMFidelityType; { How good is this item for the specified search? } itemSubClass: ResType; { Subclass of group to put this panel. Can use to do sub-grouping (eg volume for volume panel and mute panel) } itemSort: Point; { Set to 0 - future to sort the items in a sub group. } itemFlags: UInt32; { Set to 0 (future expansion) } itemReserved: ResType; { What kind of code does the itemReference point to (right now - kPanelEntryTypeComponentMgr only) } itemFuture1: UInt32; { Set to 0 (future expansion - probably an alternate code style) } itemFuture2: UInt32; { Set to 0 (future expansion - probably an alternate code style) } itemFuture3: UInt32; { Set to 0 (future expansion - probably an alternate code style) } itemFuture4: UInt32; { Set to 0 (future expansion - probably an alternate code style) } END; DMComponentListEntryPtr = ^DMComponentListEntryRec; { ••• Move AVLocationRec to AVComponents.i AFTER AVComponents.i is created } AVLocationRecPtr = ^AVLocationRec; AVLocationRec = RECORD locationConstant: UInt32; { Set to 0 (future expansion - probably an alternate code style) } END; AVLocationPtr = ^AVLocationRec; DMDepthInfoRecPtr = ^DMDepthInfoRec; DMDepthInfoRec = RECORD depthSwitchInfo: VDSwitchInfoPtr; { This is the switch mode to choose this timing/depth } depthVPBlock: VPBlockPtr; { VPBlock (including size, depth and format) } depthFlags: UInt32; { VDVideoParametersInfoRec.csDepthFlags } depthReserved1: UInt32; { Reserved } depthReserved2: UInt32; { Reserved } END; DMDepthInfoPtr = ^DMDepthInfoRec; DMDepthInfoBlockRecPtr = ^DMDepthInfoBlockRec; DMDepthInfoBlockRec = RECORD depthBlockCount: UInt32; { How many depths are there? } depthVPBlock: DMDepthInfoPtr; { Array of DMDepthInfoRec } depthBlockFlags: UInt32; { Reserved } depthBlockReserved1: UInt32; { Reserved } depthBlockReserved2: UInt32; { Reserved } END; DMDepthInfoBlockPtr = ^DMDepthInfoBlockRec; DMDisplayModeListEntryRecPtr = ^DMDisplayModeListEntryRec; DMDisplayModeListEntryRec = RECORD displayModeFlags: UInt32; displayModeSwitchInfo: VDSwitchInfoPtr; displayModeResolutionInfo: VDResolutionInfoPtr; displayModeTimingInfo: VDTimingInfoPtr; displayModeDepthBlockInfo: DMDepthInfoBlockPtr; { Information about all the depths } displayModeVersion: UInt32; { What version is this record (now kDisplayModeEntryVersionOne) } displayModeName: StringPtr; { Name of the timing mode } displayModeDisplayInfo: DMDisplayTimingInfoPtr; { Information from the display. } END; DMDisplayModeListEntryPtr = ^DMDisplayModeListEntryRec; DependentNotifyRecPtr = ^DependentNotifyRec; DependentNotifyRec = RECORD notifyType: ResType; { What type was the engine that made the change (may be zero) } notifyClass: ResType; { What class was the change (eg geometry, color etc) } notifyPortID: DisplayIDType; { Which device was touched (kInvalidDisplayID -> all or none) } notifyComponent: ComponentInstance; { What engine did it (may be 0)? } notifyVersion: UInt32; { Set to 0 (future expansion) } notifyFlags: UInt32; { Set to 0 (future expansion) } notifyReserved: UInt32; { Set to 0 (future expansion) } notifyFuture: UInt32; { Set to 0 (future expansion) } END; DependentNotifyPtr = ^DependentNotifyRec; DMMakeAndModelRecPtr = ^DMMakeAndModelRec; DMMakeAndModelRec = RECORD manufacturer: ResType; model: UInt32; serialNumber: UInt32; manufactureDate: UInt32; makeReserved: ARRAY [0..3] OF UInt32; END; DMMakeAndModelPtr = ^DMMakeAndModelRec; { Exports to support Interfaces library containing unused calls } {$IFC NOT FOR_GLUE_LIB } {$ENDC} {$IFC TYPED_FUNCTION_POINTERS} DMNotificationProcPtr = PROCEDURE(VAR theEvent: AppleEvent); {$ELSEC} DMNotificationProcPtr = ProcPtr; {$ENDC} {$IFC TYPED_FUNCTION_POINTERS} DMExtendedNotificationProcPtr = PROCEDURE(userData: UNIV Ptr; theMessage: INTEGER; notifyData: UNIV Ptr); {$ELSEC} DMExtendedNotificationProcPtr = ProcPtr; {$ENDC} {$IFC TYPED_FUNCTION_POINTERS} DMComponentListIteratorProcPtr = PROCEDURE(userData: UNIV Ptr; itemIndex: DMListIndexType; componentInfo: DMComponentListEntryPtr); {$ELSEC} DMComponentListIteratorProcPtr = ProcPtr; {$ENDC} {$IFC TYPED_FUNCTION_POINTERS} DMDisplayModeListIteratorProcPtr = PROCEDURE(userData: UNIV Ptr; itemIndex: DMListIndexType; displaymodeInfo: DMDisplayModeListEntryPtr); {$ELSEC} DMDisplayModeListIteratorProcPtr = ProcPtr; {$ENDC} DMNotificationUPP = UniversalProcPtr; DMExtendedNotificationUPP = UniversalProcPtr; DMComponentListIteratorUPP = UniversalProcPtr; DMDisplayModeListIteratorUPP = UniversalProcPtr; CONST uppDMNotificationProcInfo = $000000C0; uppDMExtendedNotificationProcInfo = $00000EC0; uppDMComponentListIteratorProcInfo = $00000FC0; uppDMDisplayModeListIteratorProcInfo = $00000FC0; FUNCTION NewDMNotificationProc(userRoutine: DMNotificationProcPtr): DMNotificationUPP; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $2E9F; {$ENDC} FUNCTION NewDMExtendedNotificationProc(userRoutine: DMExtendedNotificationProcPtr): DMExtendedNotificationUPP; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $2E9F; {$ENDC} FUNCTION NewDMComponentListIteratorProc(userRoutine: DMComponentListIteratorProcPtr): DMComponentListIteratorUPP; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $2E9F; {$ENDC} FUNCTION NewDMDisplayModeListIteratorProc(userRoutine: DMDisplayModeListIteratorProcPtr): DMDisplayModeListIteratorUPP; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $2E9F; {$ENDC} PROCEDURE CallDMNotificationProc(VAR theEvent: AppleEvent; userRoutine: DMNotificationUPP); {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $205F, $4E90; {$ENDC} PROCEDURE CallDMExtendedNotificationProc(userData: UNIV Ptr; theMessage: INTEGER; notifyData: UNIV Ptr; userRoutine: DMExtendedNotificationUPP); {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $205F, $4E90; {$ENDC} PROCEDURE CallDMComponentListIteratorProc(userData: UNIV Ptr; itemIndex: DMListIndexType; componentInfo: DMComponentListEntryPtr; userRoutine: DMComponentListIteratorUPP); {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $205F, $4E90; {$ENDC} PROCEDURE CallDMDisplayModeListIteratorProc(userData: UNIV Ptr; itemIndex: DMListIndexType; displaymodeInfo: DMDisplayModeListEntryPtr; userRoutine: DMDisplayModeListIteratorUPP); {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $205F, $4E90; {$ENDC} { Trap interfaces } {$IFC NOT FOR_GLUE_LIB } FUNCTION DMGetFirstScreenDevice(activeOnly: BOOLEAN): GDHandle; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $7000, $ABEB; {$ENDC} FUNCTION DMGetNextScreenDevice(theDevice: GDHandle; activeOnly: BOOLEAN): GDHandle; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $7001, $ABEB; {$ENDC} PROCEDURE DMDrawDesktopRect(VAR globalRect: Rect); {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $7002, $ABEB; {$ENDC} PROCEDURE DMDrawDesktopRegion(globalRgn: RgnHandle); {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $7003, $ABEB; {$ENDC} FUNCTION DMBeginConfigureDisplays(VAR displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0206, $ABEB; {$ENDC} FUNCTION DMEndConfigureDisplays(displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0207, $ABEB; {$ENDC} FUNCTION DMAddDisplay(newDevice: GDHandle; driver: INTEGER; mode: UInt32; reserved: UInt32; displayID: UInt32; displayComponent: Component; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0D08, $ABEB; {$ENDC} FUNCTION DMMoveDisplay(moveDevice: GDHandle; x: INTEGER; y: INTEGER; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0609, $ABEB; {$ENDC} FUNCTION DMDisableDisplay(disableDevice: GDHandle; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $040A, $ABEB; {$ENDC} FUNCTION DMEnableDisplay(enableDevice: GDHandle; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $040B, $ABEB; {$ENDC} FUNCTION DMRemoveDisplay(removeDevice: GDHandle; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $040C, $ABEB; {$ENDC} FUNCTION DMSetMainDisplay(newMainDevice: GDHandle; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0410, $ABEB; {$ENDC} FUNCTION DMSetDisplayMode(theDevice: GDHandle; mode: UInt32; VAR depthMode: UInt32; reserved: UInt32; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0A11, $ABEB; {$ENDC} FUNCTION DMCheckDisplayMode(theDevice: GDHandle; mode: UInt32; depthMode: UInt32; VAR switchFlags: UInt32; reserved: UInt32; VAR modeOk: BOOLEAN): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0C12, $ABEB; {$ENDC} FUNCTION DMGetDeskRegion(VAR desktopRegion: RgnHandle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0213, $ABEB; {$ENDC} FUNCTION DMRegisterNotifyProc(notificationProc: DMNotificationUPP; whichPSN: ProcessSerialNumberPtr): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0414, $ABEB; {$ENDC} FUNCTION DMRemoveNotifyProc(notificationProc: DMNotificationUPP; whichPSN: ProcessSerialNumberPtr): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0415, $ABEB; {$ENDC} FUNCTION DMQDIsMirroringCapable(VAR qdIsMirroringCapable: BOOLEAN): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0216, $ABEB; {$ENDC} FUNCTION DMCanMirrorNow(VAR canMirrorNow: BOOLEAN): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0217, $ABEB; {$ENDC} FUNCTION DMIsMirroringOn(VAR isMirroringOn: BOOLEAN): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0218, $ABEB; {$ENDC} FUNCTION DMMirrorDevices(gD1: GDHandle; gD2: GDHandle; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0619, $ABEB; {$ENDC} FUNCTION DMUnmirrorDevice(gDevice: GDHandle; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $041A, $ABEB; {$ENDC} FUNCTION DMGetNextMirroredDevice(gDevice: GDHandle; VAR mirroredDevice: GDHandle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $041B, $ABEB; {$ENDC} FUNCTION DMBlockMirroring: OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $701C, $ABEB; {$ENDC} FUNCTION DMUnblockMirroring: OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $701D, $ABEB; {$ENDC} FUNCTION DMGetDisplayMgrA5World(VAR dmA5: Ptr): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $021E, $ABEB; {$ENDC} FUNCTION DMGetDisplayIDByGDevice(displayDevice: GDHandle; VAR displayID: DisplayIDType; failToMain: BOOLEAN): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $051F, $ABEB; {$ENDC} FUNCTION DMGetGDeviceByDisplayID(displayID: DisplayIDType; VAR displayDevice: GDHandle; failToMain: BOOLEAN): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0520, $ABEB; {$ENDC} FUNCTION DMSetDisplayComponent(theDevice: GDHandle; displayComponent: Component): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0421, $ABEB; {$ENDC} FUNCTION DMGetDisplayComponent(theDevice: GDHandle; VAR displayComponent: Component): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0422, $ABEB; {$ENDC} FUNCTION DMNewDisplay(VAR newDevice: GDHandle; driverRefNum: INTEGER; mode: UInt32; reserved: UInt32; displayID: DisplayIDType; displayComponent: Component; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0D23, $ABEB; {$ENDC} FUNCTION DMDisposeDisplay(disposeDevice: GDHandle; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0424, $ABEB; {$ENDC} FUNCTION DMResolveDisplayComponents: OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $7025, $ABEB; {$ENDC} {$ENDC} {$IFC NOT FOR_68kGLUE_LIB } FUNCTION DMRegisterExtendedNotifyProc(notifyProc: DMExtendedNotificationUPP; notifyUserData: UNIV Ptr; nofifyOnFlags: UInt16; whichPSN: ProcessSerialNumberPtr): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $07EF, $ABEB; {$ENDC} FUNCTION DMRemoveExtendedNotifyProc(notifyProc: DMExtendedNotificationUPP; notifyUserData: UNIV Ptr; whichPSN: ProcessSerialNumberPtr; removeFlags: UInt16): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0726, $ABEB; {$ENDC} {$ENDC} FUNCTION DMNewAVPanelList(displayID: DisplayIDType; panelType: ResType; minimumFidelity: DMFidelityType; panelListFlags: UInt32; reserved: UInt32; VAR thePanelCount: DMListIndexType; VAR thePanelList: DMListType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0C27, $ABEB; {$ENDC} FUNCTION DMNewAVEngineList(displayID: DisplayIDType; engineType: ResType; minimumFidelity: DMFidelityType; engineListFlags: UInt32; reserved: UInt32; VAR engineCount: DMListIndexType; VAR engineList: DMListType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0C28, $ABEB; {$ENDC} FUNCTION DMNewAVDeviceList(deviceType: ResType; deviceListFlags: UInt32; reserved: UInt32; VAR deviceCount: DMListIndexType; VAR deviceList: DMListType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0A29, $ABEB; {$ENDC} FUNCTION DMNewAVPortListByPortType(subType: ResType; portListFlags: UInt32; reserved: UInt32; VAR devicePortCount: DMListIndexType; VAR theDevicePortList: DMListType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0A2A, $ABEB; {$ENDC} FUNCTION DMGetIndexedComponentFromList(panelList: DMListType; itemIndex: DMListIndexType; reserved: UInt32; listIterator: DMComponentListIteratorUPP; userData: UNIV Ptr): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0A2B, $ABEB; {$ENDC} {$IFC NOT FOR_68kGLUE_LIB } FUNCTION DMDisposeList(panelList: DMListType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $022C, $ABEB; {$ENDC} {$ENDC} FUNCTION DMGetNameByAVID(theID: AVIDType; nameFlags: UInt32; VAR name: Str255): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $062D, $ABEB; {$ENDC} FUNCTION DMNewAVIDByPortComponent(thePortComponent: Component; portKind: ResType; reserved: UInt32; VAR newID: AVIDType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $082E, $ABEB; {$ENDC} FUNCTION DMGetPortComponentByAVID(thePortID: DisplayIDType; VAR thePortComponent: Component; VAR theDesciption: ComponentDescription; VAR thePortKind: ResType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $082F, $ABEB; {$ENDC} {$IFC NOT FOR_68kGLUE_LIB } FUNCTION DMSendDependentNotification(notifyType: ResType; notifyClass: ResType; displayID: AVIDType; notifyComponent: ComponentInstance): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0830, $ABEB; {$ENDC} {$ENDC} FUNCTION DMDisposeAVComponent(theAVComponent: Component): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0231, $ABEB; {$ENDC} FUNCTION DMSaveScreenPrefs(reserved1: UInt32; saveFlags: UInt32; reserved2: UInt32): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0632, $ABEB; {$ENDC} FUNCTION DMNewAVIDByDeviceComponent(theDeviceComponent: Component; portKind: ResType; reserved: UInt32; VAR newID: DisplayIDType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0833, $ABEB; {$ENDC} FUNCTION DMNewAVPortListByDeviceAVID(theID: AVIDType; minimumFidelity: DMFidelityType; portListFlags: UInt32; reserved: UInt32; VAR devicePortCount: DMListIndexType; VAR theDevicePortList: DMListType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0C34, $ABEB; {$ENDC} FUNCTION DMGetDeviceComponentByAVID(theDeviceID: AVIDType; VAR theDeviceComponent: Component; VAR theDesciption: ComponentDescription; VAR theDeviceKind: ResType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0835, $ABEB; {$ENDC} FUNCTION DMNewDisplayModeList(displayID: DisplayIDType; modeListFlags: UInt32; reserved: UInt32; VAR thePanelCount: DMListIndexType; VAR thePanelList: DMListType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0A36, $ABEB; {$ENDC} FUNCTION DMGetIndexedDisplayModeFromList(panelList: DMListType; itemIndex: DMListIndexType; reserved: UInt32; listIterator: DMDisplayModeListIteratorUPP; userData: UNIV Ptr): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0A37, $ABEB; {$ENDC} FUNCTION DMGetGraphicInfoByAVID(theID: AVIDType; VAR theAVPcit: PicHandle; VAR theAVIconSuite: Handle; VAR theAVLocation: AVLocationRec): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0838, $ABEB; {$ENDC} FUNCTION DMGetAVPowerState(theID: AVIDType; getPowerState: AVPowerStatePtr; reserved1: UInt32): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $0839, $ABEB; {$ENDC} FUNCTION DMSetAVPowerState(theID: AVIDType; setPowerState: AVPowerStatePtr; powerFlags: UInt32; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $083A, $ABEB; {$ENDC} FUNCTION DMGetDeviceAVIDByPortAVID(portAVID: AVIDType; VAR deviceAVID: AVIDType): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $043B, $ABEB; {$ENDC} FUNCTION DMGetEnableByAVID(theAVID: AVIDType; VAR isAVIDEnabledNow: BOOLEAN; VAR canChangeEnableNow: BOOLEAN): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $063C, $ABEB; {$ENDC} FUNCTION DMSetEnableByAVID(theAVID: AVIDType; doEnable: BOOLEAN; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $053D, $ABEB; {$ENDC} FUNCTION DMGetDisplayMode(theDevice: GDHandle; switchInfo: VDSwitchInfoPtr): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $043E, $ABEB; {$ENDC} FUNCTION DMConfirmConfiguration(filterProc: ModalFilterUPP; confirmFlags: UInt32; reserved: UInt32; displayState: Handle): OSErr; {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM} INLINE $303C, $083F, $ABEB; {$ENDC} {$ALIGN RESET} {$POP} {$SETC UsingIncludes := DisplaysIncludes} {$ENDC} {__DISPLAYS__} {$IFC NOT UsingIncludes} END. {$ENDC}